package com.cangchu.ui.activity;

import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import com.cangchu.R;
import com.cangchu.util.InjectView;
import com.cangchu.widget.ClearEditText;

public class LoginActivity extends BaseActivity {

    @InjectView(R.id.iv_user)
    private ImageView ivLoginUser;

    @InjectView(R.id.iv_key)
    private ImageView ivLoginKey;

    @InjectView(R.id.edt_user)
    private ClearEditText edtUser;

    @InjectView(R.id.edt_pwd)
    private ClearEditText edtPwd;

    @InjectView(R.id.btn_login)
    private Button btnLogin;

    @InjectView(R.id.btn_set)
    private Button btnSet;


    @Override
    protected int getContentViewLayoutID() {
        return R.layout.activity_login;
    }

    @Override
    protected void initViewsAndEvents() {

        btnLogin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(LoginActivity.this, MainActivity.class);
                startActivity(intent);
            }
        });
    }


}
